<?php
class SysPagesForm extends BaseFormAdmin{
public function configure(){
		$langs = SysLanguages::getAllLang();
		foreach($langs as $lang){
			$this->setWidget('content_'.$lang, new sfWidgetFormTextarea(array(), array('class' => 'required editor')));
			$this->setValidator('content_'.$lang, new sfValidatorString(array('required' => false)));
		}
		parent::configure();
	}
}
